#!/usr/bin/python3
# coding: utf-8
# file: re_.py
# 2018-06-12
import re


def re_findall(expression, text):
	'''匹配所有符合表达式的字符'''
	d = re.findall(expression, text)
	print(d)

text = """var teamDetail = [106,'皇家社会','皇家蘇斯達','Real Sociedad'],'images/20132515074];"""
expression = r'teamDetail(.*?)];'
re_findall(expression, text)
